package com.epro.dx.model;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by ZengLingWen on 2017/6/21.
 */

public class OrderTrackModel {

    /**
     * Status : 0
     * Data : {"NoticePushs":[{"IsRead":false,"NoticePush":{"NoticeID":"57283c22c844293010b9e242","NoticeType":1,"Title":"sadas","Content":"a dasd","ContentType":3,"ContentID":"","Img":"http://c.dx.com/dms/AppHome/2016/5/extreme_deals_300x250_en_690.jpg","LinkType":2,"Sku":1138,"LinkUrl":"","\u201cOrderNumber\u201d":"\u201dxxxxxx\u201d 订单号，消息类型为3的时候传(本次改动部分)"}},{"IsRead":false,"NoticePush":{"NoticeID":"572862d80ef81d240436de6d","NoticeType":1,"Title":"一条测试消息不用理会2","Content":"","ContentType":1,"ContentID":"","Img":"","LinkType":1,"Sku":1138,"LinkUrl":"","\u201cOrderNumber\u201d":"\u201dxxxxxx\u201d 订单号，消息类型为3的时候传(本次改动部分)"}}],"Error":{"ErrorCode":null,"ShortMessage":null,"LongMessage":null}}
     * RowCount : 0
     */

    private String Status;
    private DataBean Data;
    private int RowCount;

    @Override
    public String toString() {
        return "OrderTrackModel{" +
                "Status='" + Status + '\'' +
                ", Data=" + Data +
                ", RowCount=" + RowCount +
                '}';
    }

    public String getStatus() {
        return Status;
    }

    public void setStatus(String Status) {
        this.Status = Status;
    }

    public DataBean getData() {
        return Data;
    }

    public void setData(DataBean Data) {
        this.Data = Data;
    }

    public int getRowCount() {
        return RowCount;
    }

    public void setRowCount(int RowCount) {
        this.RowCount = RowCount;
    }

    public static class DataBean {
        /**
         * NoticePushs : [{"IsRead":false,"NoticePush":{"NoticeID":"57283c22c844293010b9e242","NoticeType":1,"Title":"sadas","Content":"a dasd","ContentType":3,"ContentID":"","Img":"http://c.dx.com/dms/AppHome/2016/5/extreme_deals_300x250_en_690.jpg","LinkType":2,"Sku":1138,"LinkUrl":"","\u201cOrderNumber\u201d":"\u201dxxxxxx\u201d 订单号，消息类型为3的时候传(本次改动部分)"}},{"IsRead":false,"NoticePush":{"NoticeID":"572862d80ef81d240436de6d","NoticeType":1,"Title":"一条测试消息不用理会2","Content":"","ContentType":1,"ContentID":"","Img":"","LinkType":1,"Sku":1138,"LinkUrl":"","\u201cOrderNumber\u201d":"\u201dxxxxxx\u201d 订单号，消息类型为3的时候传(本次改动部分)"}}]
         * Error : {"ErrorCode":null,"ShortMessage":null,"LongMessage":null}
         */

        private ErrorBean Error;
        private List<NoticePushsBean> NoticePushs;

        public ErrorBean getError() {
            return Error;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "Error=" + Error +
                    ", NoticePushs=" + NoticePushs +
                    '}';
        }

        public void setError(ErrorBean Error) {
            this.Error = Error;
        }

        public List<NoticePushsBean> getNoticePushs() {
            return NoticePushs;
        }

        public void setNoticePushs(List<NoticePushsBean> NoticePushs) {
            this.NoticePushs = NoticePushs;
        }

        public static class ErrorBean {
            /**
             * ErrorCode : null
             * ShortMessage : null
             * LongMessage : null
             */

            private Object ErrorCode;
            private Object ShortMessage;
            private Object LongMessage;

            public Object getErrorCode() {
                return ErrorCode;
            }

            public void setErrorCode(Object ErrorCode) {
                this.ErrorCode = ErrorCode;
            }

            public Object getShortMessage() {
                return ShortMessage;
            }

            public void setShortMessage(Object ShortMessage) {
                this.ShortMessage = ShortMessage;
            }

            public Object getLongMessage() {
                return LongMessage;
            }

            @Override
            public String toString() {
                return "ErrorBean{" +
                        "ErrorCode=" + ErrorCode +
                        ", ShortMessage=" + ShortMessage +
                        ", LongMessage=" + LongMessage +
                        '}';
            }

            public void setLongMessage(Object LongMessage) {
                this.LongMessage = LongMessage;
            }
        }

        public static class NoticePushsBean {
            /**
             * IsRead : false
             * NoticePush : {"NoticeID":"57283c22c844293010b9e242","NoticeType":1,"Title":"sadas","Content":"a dasd","ContentType":3,"ContentID":"","Img":"http://c.dx.com/dms/AppHome/2016/5/extreme_deals_300x250_en_690.jpg","LinkType":2,"Sku":1138,"LinkUrl":"","\u201cOrderNumber\u201d":"\u201dxxxxxx\u201d 订单号，消息类型为3的时候传(本次改动部分)"}
             */

            private boolean IsRead;
            private NoticePushBean NoticePush;

            public boolean isIsRead() {
                return IsRead;
            }

            public void setIsRead(boolean IsRead) {
                this.IsRead = IsRead;
            }

            public NoticePushBean getNoticePush() {
                return NoticePush;
            }

            @Override
            public String toString() {
                return "NoticePushsBean{" +
                        "IsRead=" + IsRead +
                        ", NoticePush=" + NoticePush +
                        '}';
            }

            public void setNoticePush(NoticePushBean NoticePush) {
                this.NoticePush = NoticePush;
            }

            public static class NoticePushBean {
                /**
                 * NoticeID : 57283c22c844293010b9e242
                 * NoticeType : 1
                 * Title : sadas
                 * Content : a dasd
                 * ContentType : 3
                 * ContentID :
                 * Img : http://c.dx.com/dms/AppHome/2016/5/extreme_deals_300x250_en_690.jpg
                 * LinkType : 2
                 * Sku : 1138
                 * LinkUrl :
                 * “OrderNumber” : ”xxxxxx” 订单号，消息类型为3的时候传(本次改动部分)
                 */

                private String NoticeID;
                private int NoticeType;
                private String Title;
                private String Content;
                private int ContentType;
                private String ContentID;
                private String Img;
                private int LinkType;
                private int Sku;
                private String LinkUrl;
                @SerializedName("“OrderNumber”")
                private String _$OrderNumber100; // FIXME check this code

                @Override
                public String toString() {
                    return "NoticePushBean{" +
                            "NoticeID='" + NoticeID + '\'' +
                            ", NoticeType=" + NoticeType +
                            ", Title='" + Title + '\'' +
                            ", Content='" + Content + '\'' +
                            ", ContentType=" + ContentType +
                            ", ContentID='" + ContentID + '\'' +
                            ", Img='" + Img + '\'' +
                            ", LinkType=" + LinkType +
                            ", Sku=" + Sku +
                            ", LinkUrl='" + LinkUrl + '\'' +
                            ", _$OrderNumber100='" + _$OrderNumber100 + '\'' +
                            '}';
                }

                public String getNoticeID() {
                    return NoticeID;
                }

                public void setNoticeID(String NoticeID) {
                    this.NoticeID = NoticeID;
                }

                public int getNoticeType() {
                    return NoticeType;
                }

                public void setNoticeType(int NoticeType) {
                    this.NoticeType = NoticeType;
                }

                public String getTitle() {
                    return Title;
                }

                public void setTitle(String Title) {
                    this.Title = Title;
                }

                public String getContent() {
                    return Content;
                }

                public void setContent(String Content) {
                    this.Content = Content;
                }

                public int getContentType() {
                    return ContentType;
                }

                public void setContentType(int ContentType) {
                    this.ContentType = ContentType;
                }

                public String getContentID() {
                    return ContentID;
                }

                public void setContentID(String ContentID) {
                    this.ContentID = ContentID;
                }

                public String getImg() {
                    return Img;
                }

                public void setImg(String Img) {
                    this.Img = Img;
                }

                public int getLinkType() {
                    return LinkType;
                }

                public void setLinkType(int LinkType) {
                    this.LinkType = LinkType;
                }

                public int getSku() {
                    return Sku;
                }

                public void setSku(int Sku) {
                    this.Sku = Sku;
                }

                public String getLinkUrl() {
                    return LinkUrl;
                }

                public void setLinkUrl(String LinkUrl) {
                    this.LinkUrl = LinkUrl;
                }

                public String get_$OrderNumber100() {
                    return _$OrderNumber100;
                }

                public void set_$OrderNumber100(String _$OrderNumber100) {
                    this._$OrderNumber100 = _$OrderNumber100;
                }
            }
        }
    }
}
